package com.kid.modules.utils.mvc;

import java.util.Map;

public class AjaxReturn {

	private boolean ok;
	private String errorId;
	private String errorMsg;
	private Map<String, Object> data;

	public static AjaxReturn getOne() {
		return new AjaxReturn();
	};

	public boolean isOk() {
		return ok;
	}

	public void setOk(boolean ok) {
		this.ok = ok;
	}

	public String getErrorId() {
		return errorId;
	}

	public void setErrorId(String errorId) {
		this.errorId = errorId;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public Map<String, Object> getData() {
		return data;
	}

	public void setData(Map<String, Object> data) {
		this.data = data;
	}

}